﻿#pragma execution_character_set("utf-8")
#include "ForeignCenter.h"
#include <QDebug>

ForeignCenter::ForeignCenter(QString name) : m_name(name)
{

}

void ForeignCenter::jingong()
{
    qDebug() << QString("外籍中锋 %1 进攻").arg(m_name);
}

void ForeignCenter::fangshou()
{
    qDebug() << QString("外籍中锋 %1 防守").arg(m_name);
}

const QString &ForeignCenter::getName() const
{
    return m_name;
}

void ForeignCenter::setName(const QString &name)
{
    m_name = name;
}
